package com.mindcoord.handbook.pojo;

public class Clazz {

    private Integer id;

    private String name;

    private String major;

    private String school;

    public Clazz() {
    }

    public Clazz(Integer id, String name, String major, String school) {
        this.id = id;
        this.name = name;
        this.major = major;
        this.school = school;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return "Clazz{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", major='" + major + '\'' +
                ", school='" + school + '\'' +
                '}';
    }

}
